import request from "@/utils/request";

let api = {};

api.get_tags = (data) => {
    return request({
        url: "setting/keys",
        method: "get",
        data: data,
    });
};

api.add_tag = (data) => {
    return request({
        url: "setting/add_key",
        method: "post",
        data: data,
    });
};
api.delete_tag = (data) => {
    return request({
        url: "setting/delete_key",
        method: "post",
        data: data,
    });
};

export default api;
